package com.workManager;



/**
 * 常量表
 */
public interface Constants {
	/**
	 * 异常信息统一头信息<br>
	 * 非常遗憾的通知您,程序发生了异常
	 */
	public static final String Exception_Head = "ERROR:";
	/** 客户端语言 */
	public static final String USERLANGUAGE = "userLanguage";
	/** 客户端主题 */
	public static final String WEBTHEME = "webTheme";
	/** 当前用户 */
	public static final String CURRENT_USER = "CURRENT_USER";
	/** 当前用户对象 */
	public static final String CURRENT_USER_VO = "CURRENT_USER_VO";
	/** 在线用户数量 */
	public static final String ALLUSER_NUMBER = "ALLUSER_NUMBER";
	/** 登录用户数量 */
	public static final String USER_NUMBER = "USER_NUMBER";
	/** 上次请求地址 */
	public static final String PREREQUEST = "PREREQUEST";
	/** 请求地址来源 */
	public static final String SESSION_EQUEST_REFERER = "SESSION_EQUEST_REFERER";
	/** 上次请求时间 */
	public static final String PREREQUEST_TIME = "PREREQUEST_TIME";
	/** 非法请求次数 */
	public static final String MALICIOUS_REQUEST_TIMES = "MALICIOUS_REQUEST_TIMES";
	/** 缓存命名空间 */
	public static final String CACHE_NAMESPACE = "geasyCache:";
	
	/**超级管理员角色*/
	public static final String ROLE_ADMIN = "1";
	
	/**企业管理员角色*/
	public static final String ROLE_ENT_MGR = "2";
	
	/**网关接口地址*/
//	public static final String WEB_API_URL = PropertiesUtil.getString("web.api.url");
	
	/**企业号认证结果地址*/
	//public static final String WXCP_AUTHRESULT_URL = PropertiesUtil.getString("wxcp.authresult.url");
}
